package com.example.demo.entity;


import java.util.Date;

public class Course {
    private Integer courseid;
    private Integer id;
    private String teachername;
    private String coursename;

    private Integer type;

    private Integer time;
    private Float gredit;
    private String term;
    private Date begintime;
    private Date endtime;

    private Integer status;

    public Course() {
    }

    public Course(Integer courseid, Integer id, String teachername, String coursename, Integer type, Integer time, Float gredit, String term, Date begintime, Date endtime) {
        this.courseid = courseid;
        this.id = id;
        this.teachername = teachername;
        this.coursename = coursename;
        this.type = type;
        this.time = time;
        this.gredit = gredit;
        this.term = term;
        this.begintime = begintime;
        this.endtime = endtime;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Float getGredit() {
        return gredit;
    }

    public void setGredit(Float gredit) {
        this.gredit = gredit;
    }

    public Integer getCourseid() {
        return courseid;
    }

    public void setCourseid(Integer courseid) {
        this.courseid = courseid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTeachername() {
        return teachername;
    }

    public void setTeachername(String teachername) {
        this.teachername = teachername;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }
}
